@group(0) @binding(1) var<uniform> mvp: mat4x4<f32>;

struct VertextOutput {
  @builtin(position) position: vec4<f32>,
  @location(0) fragPosition: vec4<f32>,
};

@vertex
fn main(@location(0) position: vec4<f32>) -> VertextOutput {
  var output: VertextOutput;
  output.position = mvp * position;
  output.fragPosition = 0.5 * (position + vec4(1.0));
  return output;
}